#if !defined(AFX_CAMPDLG_H__6651A2DF_4D53_4154_82E6_8D7045255B22__INCLUDED_)
#define AFX_CAMPDLG_H__6651A2DF_4D53_4154_82E6_8D7045255B22__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CampDlg.h : header file
//
#include "Tianwan.h"
#include "XlsObj.h"
#include "Twn_TNTBuilder.h"
#define XLS_DEFAULT_PATH "D:\\Tianwan\\Config\\Campaign1.xls"
#define EXCEL_SHEET	1
/////////////////////////////////////////////////////////////////////////////
// CCampDlg dialog

class CCampDlg : public CDialog
{
// Construction
public:
	CCampDlg(CWnd* pParent = NULL);   // standard constructor
	TCHAR	msg[128];
// Dialog Data
	//{{AFX_DATA(CCampDlg)
	enum { IDD = IDD_CAMPAIGN };
	CListBox	m_Echo;
	CString	m_Path;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCampDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCampDlg)
	afx_msg void OnOpen();
	afx_msg void OnConnect();
	afx_msg void OnDisconnect();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg void OnAcquire();
	afx_msg void OnView();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	CXlsObj	*excelObj;
	long		excelInst;
	BOOL	XlsActive;
	void	echo(BOOL);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CAMPDLG_H__6651A2DF_4D53_4154_82E6_8D7045255B22__INCLUDED_)
